<template>
  <div class="main">
    <!-- <img
      src="@/assets/img/shouyu.jpg"
      alt=""
    > -->
    <h1 class="main-title">不知道写啥</h1>
    <div
      class="kai-shi"
      @click="kaishi"
    >
      进入
      <i class="el-icon-right"></i>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Main',
  methods: {
    kaishi() {
      this.$router.push({ path: '/dashboard' })
    },
  },
}
</script>

<style lang="scss" scoped>
.main {
  width: 60%;
  height: 90%;
  @include dif-jucc-alc;
  flex-direction: column;
  margin: 0 auto;

  img {
    width: 400px;
    height: 400px;
  }

  .main-title {
    color: $textColor;
    font-weight: 600;
    font-size: 3rem;
    margin: 1.8rem auto;
  }

  .kai-shi {
    display: inline-block;
    font-size: 1.2rem;
    color: #fff;
    background-color: #3eaf7c;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    transition: background-color 0.1s ease;
    box-sizing: border-box;
    border-bottom: 1px solid #389d70;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
}
</style>